package com.ticket.dao;

import com.ticket.entity.Contest;
import com.ticket.entity.Drama;
import com.ticket.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author twj
 * @version 8.0
 * @description TODO    演出体育赛事dao层
 * @date 2023/10/8
 */
public interface SportsDao {
    /**
    * @author TanWenJie
    * @description TODO 分页查询体育赛事
    * @date 2023/10/8 8:52
     * @param page
     * @param contest
    * @return org.t69.auction.Page<com.ticket.entity.Drama>
    */
    List<Contest> selSports(@Param("page") Page<Contest> page, @Param("contest") Contest contest);

    int selSportsCount(@Param("contest") Contest contest);
}
